<nav class="breadcrumb" id="pathContainer">
    <i class="Hui-iconfont Hui-iconfont-weizhi"></i>
    <span>您的位置：</span>
    <span>扶贫对象管理</span>
    <span class="c-999 en">&gt;</span>
    <span class="c-primary">自然村管理</span>
</nav>

<div class="Hui-article" id="memberManage">
    <!-- search module start -->
    <div class="row cl searchBox">
        <form class="form form-horizontal responsive" id="searchForm" novalidate="novalidate">
            <div class="clearfix">
                <div class="conditionBox col-sm-2">
                    <label for="">所在省:</label>
                    <div class="formControls">
                        <select class="select-box select radius" size="1" id="province" value="">
                            <option value="河北省" readOnly>河北省</option>
                        </select>
                        <input type="hidden" value="河北省"  id="h-province">
                    </div>
                </div>
                <div class="conditionBox col-sm-2">
                    <label for="">所在市:</label>
                    <div class="formControls">
                        <select class="select-box select radius" size="1" id="city" value="">
                            <option value="邯郸市" readOnly>邯郸市</option>
                        </select>
                        <input type="hidden" value="邯郸市"  id="h-city">
                    </div>
                </div>
                <div class="conditionBox col-sm-2">
                    <label for="">所在县:</label>
                    <div class="formControls">
                        <select class="select-box select radius" size="1" id="cty" value="">
                            <option value="魏县" readOnly>魏县</option>
                        </select>
                        <input type="hidden" value="魏县"  id="h-cty">
                    </div>
                </div>
                <div class="conditionBox col-sm-2">
                    <label for="">所在乡:</label>
                    <div class="formControls">
                        <select class="select-box select radius" size="1" id="cry" value="">
                            <option value="">请选择</option>
                        </select>
                        <input type="hidden" name="cry" id="h-cry">
                    </div>
                </div>
                <div class="conditionBox col-sm-2">
                    <label for="">所在村:</label>
                    <div class="formControls">
                        <select class="select-box select radius" size="1"  id="name">
                            <option value="">请选择</option>
                        </select>
                        <input type="hidden" name="name" id="h-name">
                    </div>
                </div>
                <div class="conditionBox col-sm-2" style="display: none">
                    <label for="">年度:</label>
                    <input type="text" class="input-text radius pointer" readonly placeholder="请输入年度" name="year" id="year" />
                </div>  
                <div class="conditionBox col-sm-2">
                    <label for="">自然村名称:</label>
                    <input type="text" class="input-text radius" placeholder="请输入自然村名称" name="village" id="village"/>
                </div>
                <div class="conditionBox col-sm-2">
                    <label for="">组号:</label>
                    <input type="text" class="input-text radius" placeholder="请输入组号" name="groupNumber" id="groupNumber"/>
                </div>
                <div class="conditionBox col-sm-2">
                    <label for="">负责人:</label>
                    <input type="text" class="input-text radius" placeholder="请输入负责人" name="fpeople" id="fpeople" />
                </div>
                <div class="conditionBox col-sm-2">
                    <label for="">联系电话:</label>
                    <input type="text" class="input-text radius" placeholder="请输入联系电话"/ name="contact" id="contact">
                </div>
            </div>
            <div class="clearfix search-btns  margin-padding-none btn-div">
                <input type="button" class="btn btn-primary  queryBtn btn btn-secondary" value="查 询"/>
                <input class="btn btn-secondary add_btn save_from" type="button" value="新增">
        		<input class="btn btn-secondary export_btn" type="button" value="导出">
            </div>
        </form>
    </div>
    <div class="table-scroll3">
        <table class="table table-border table-bordered">
            <thead class="text-c row cl table-bgcolor-gary" id="thead">
                <tr>
            		<th><input type="checkbox" name="" id="checkAll"/></th>
                    <th>序号</th>
                    <th>县</th>
                    <th>乡</th>
                    <th>自然村编码</th>
                    <th>行政村名称</th>
                    <th>自然村名称</th>
                    <th>组号</th>
                    <th>负责人</th>
                    <th>联系方式</th>
                    <th>总户数</th>
                    <th>贫困户数</th>
                    <th>低保户数</th>
                    <th>五保户数</th>
                    <th>总人口数</th>
                    <th>贫困人口数</th>
                    <th>低保人口数</th>
                    <th>五保人口数</th>
                    <th>少数民族人口数</th>
                    <th>妇女人口数</th>
                    <th>残疾人口数</th>
                    <th>劳保力数</th>
                    <th>外出务工人数</th>
                    <th>村属性</th>
                    <th width="200">操作</th>
                </tr>
            </thead>
            <tbody class="text-c row cl" id="tbody"></tbody>
        </table>
    </div>

    <!-- 分页 start -->
    <div class="page pt-10 clearfix">
        <div class="f-l" style="white-space: nowrap;" id="pageContainer"></div>
        <div class="f-r" id="pageBtn">
            <input type="button" value="首页" class="page-btn" id="firstPage">
            <input type="button" value="上一页" class="page-btn" id="prevPage">
            <input type="button" value="下一页" class="page-btn" id="nextPage">
            <input type="button" value="尾页" class="page-btn" id="lastPage">
        </div>
    </div>
    <!-- 分页 end -->
</div>

<!-- 页面模板 start -->
<script id="List" type="text/x-handlebars-template">
\{{#each resultList}}
<tr>
    <td><input name="checkbox" type="checkbox" value=""/></td>
    <td>\{{Math @index '+' '1'}}</td>
    <td>\{{cty}}</td>
    <td>\{{cry}}</td>
    <td>\{{code}}</td>

    <td>\{{name}}</td>
    <td>\{{village}}</td>

    <td>\{{groupNumber}}</td>
    <td>\{{fpeople}}</td>
    <td>\{{contact}}</td>
    <td>\{{total}}</td>
    <td>\{{poor}}</td>
    <td>\{{lowHouse}}</td>
    <td>\{{fiveHouse}}</td>
    <td>\{{totalNumber}}</td>
    <td>\{{poorNumber}}</td>
    <td>\{{lowNumber}}</td>
    <td>\{{fiveNumber}}</td>

    <td>\{{lessNumber}}</td>
    <td>\{{womanNumber}}</td>
    <td>\{{remnantNumber}}</td>
    <td>\{{labourNumber}}</td>
    <td>\{{gooutNumber}}</td>

    <td>\{{nature}}</td>

    <td width="200" id="\{{id}}">
        <button type="button" class="btn btn-primary size-S detail_btn save_from">查看</button>
        <button type="button" class="btn btn-primary size-S edit_btn save_from">编辑</button>
        <button type="button" class="btn btn-primary size-S del_btn">删除</button>
    </td>
</tr>
\{{/each}}
</script>
<!-- 页面模板 end -->

<!-- 分页  start -->
<script id="page" type="text/x-handlebars-template">
    <span>共有\{{rowCount}}条记录，</span>
    <label for="ipt2">每页行数：</label>
    <span class="select-box page-span">
        <select class="select page-select" size="1" name="demo1" id="pageSize">
            <option value="10" selected>10</option>
            <option value="20">20</option>
            <option value="50">50</option>
            <option value="100">100</option>
            <option value="200">200</option>
            <option value="300">300</option>
        </select>
    </span>
    <label for="ipt2">当前第</label>
    <span class="select-box page-span">
        <select class="select page-select" size="1" name="demo1" id="pageCount">
            \{{#each pageCount}}
            <option value="\{{pageCount}}">\{{pageCount}}</option>
            \{{/each}}
        </select>
    </span>
    <span>页</span>
</script>
<!-- 分页  end -->

<script>
    new naturalVillageMng();
    
</script>
